cURL
curl --request POST \ --url https://api.bfl.ai/v1/flux-pro-1.1-ultra \ --header 'Content-Type: application/json' \ --header 'x-key: <api-key>' \ --data '{ "prompt": "A beautiful landscape with mountains and a lake", "prompt_upsampling": false, "seed": 42, "aspect_ratio": "16:9", "safety_tolerance": 2, "output_format": "jpeg", "raw": false, "image_prompt": "<string>", "image_prompt_strength": 0.1, "webhook_url": "<string>", "webhook_secret": "<string>" }'
{ "id": "<string>", "polling_url": "<string>" }
Submits an image generation task with FLUX 1.1 [pro] with ultra mode and optional raw mode.
Successful Response
The response is of type object.
object
Was this page helpful?